package com.itheima.d14_extends_constructor;

class Teacher extends People {
    private String skill;

    public Teacher(){
        super();
    }
    public Teacher(String name,int age,String skill){
        super(name,age);
        this .skill = skill;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }
    public  void show(String name,int age,String skill){
        System.out.println(age + "的" + name + "会" + skill);
    }
}
